package csw;

import java.util.Scanner;


public class P1 {

	public static void main(String [] arg){
		
		int num = 0;
		String star = "*";
		
		Scanner sc = null;
		sc = new Scanner(System.in);
		System.out.println("숫자를 입력하시옹");
		num=sc.nextInt();
		
		for(int i = 0;i<=num;i++){
			for(int j = 0;j<num-i;j++){
				System.out.print(star);
				num=sc.nextInt();
			}
			//num=sc.nextInt();
			
			System.out.println("");
		}
		
		
		sc.close();
		
		
		
			}


	}
